package ru.papergames.model.binsocket.packets.response
{
	import ru.papergames.model.binsocket.data.ExtByteArray;
	import ru.papergames.model.binsocket.packets.SocketResponse;

	public class PingResponse extends SocketResponse
	{		
		public static const NOTIFICATION:String = 'PingResponse';
		
		public var pingId:uint;
		
		public function PingResponse(bytes:ExtByteArray)
		{
			super(bytes);
		}
		
		override protected function decode():void {
			pingId = binaryData.readUnsignedByte();
		}
		
		override public function getNotification():String {
			return NOTIFICATION;
		}
	}
}